import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { DevicePage } from './device';
import { DeviceDetailPage } from './device-detail/device-detail';
import { DeviceWhPage } from './device-wh/device-wh';
import { ComponentsModule } from '../../components/components.module'
import { PipesModule } from '../../pipes/pipes.module'
import { DirectivesModule } from '../../directives/directives.module'
import { FileTransfer} from '@ionic-native/file-transfer';
import { File } from '@ionic-native/file';
import { Camera, CameraOptions } from '@ionic-native/camera';
@NgModule({
  declarations: [
    DevicePage,
    DeviceDetailPage,
    DeviceWhPage
  ],
  entryComponents:[
    DevicePage,
    DeviceDetailPage,
    DeviceWhPage
  ],
  imports: [
    // DirectivesModule,
    ComponentsModule,
    PipesModule,
    DirectivesModule,
    IonicPageModule.forChild(DevicePage),
  ],
  providers: [
    FileTransfer,
    File,
    Camera
  ]
})
export class DevicePageModule {}
